package com.wl.cloud.system.support.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author: wanglin
 * @date: 2023-05-30 周二
 * @Version: 1.0
 * @Description:
 */
@Data
@Schema(description = "登录返回信息")
public class LoginVO {
    @Schema(description = "账号")
    private String userId;
    @Schema(description = "用户名")
    private String name;
    @Schema(description = "登录验证token")
    private String token;
    @Schema(description = "用户类型")
    private String roleType;
    /**
     * 登录时间
     */
    @Schema(description = "登录时间")
    private Long loginTime;

    /**
     * 过期时间
     */
    @Schema(description = "过期时间")
    private Long expireTime;

    @Schema(description = "缓存刷新时间，默认分钟，token过期前10分钟之内，刷新token")
    private Long refreshTime;
}
